package com.zmj.sy.mom.srv.aps.bean.entity.third;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
@TableName("tb_third_sinocam_receive_nest_part")
public class SinoCamReceiveNestPart extends BaseEntity {

    private Integer sinoCamId;

    private Integer receiveNestId;

    @Comment("生产加工号")  //生产加工批次号，若没有值 默认传1 |工单包号
    private String processingNo;

    @Comment("下料计划号")
    private String nestPlanId;

    @Comment("零件编号")
    private String partId;

    @Comment("零件名称")
    private String partName;

    @Comment("已套数量")
    private Integer quantity;

    @Comment("单套数量")
    private Integer eachQuantity;

    @Comment("单件零件净重")
    private BigDecimal netWeight;

    @Comment("面积")
    private BigDecimal area;

    @Comment("最小矩形面积")
    private BigDecimal rectangleArea;

    @Comment("需求工厂")
    private String requireFactoryId;

    @Comment("宽度(mm)")
    private BigDecimal width;

    @Comment("长度(mm)")
    private BigDecimal length;

    @Comment("厚度(mm)")
    private BigDecimal thickness;

    @Comment("钢板号")
    private String plateCode;

    @Comment("切割编号也就是套料图号")
    private String nestId;

    @Comment("零件图纸路径")
    private String partMapUrl;

    @Comment("分拣数")
    private Integer sortingCount;

    @Comment("唯一号")
    private String uniCode;

    @Comment("分拣状态 0 待分拣 1 分拣中 2 分拣完成")
    private Integer sortState;

    private String mesPkgCode;

    private String mesOrderCode;

    private Integer mesLineId;

    @Comment("订单号")
    private Integer orderId;

    @Comment("工单号")
    private String workOrderCode;

}
